package com.company.common.util;

/**
 * 静态常量类
 */
public enum ServiceCommonConstants {

    //===============公共===============
    STATUS_OK(1, "正常"),
    STATUS_DEL(0, "删除"),
    CAPT_INVALID_TIME(30, "验证码失效时间"),

    //===============字典===============
    ROLETYPE_OTHER(1, "自定义"),
    ROLETYPE_SYS(2, "系统"),

    //===============字典===============
    FILE_RES_TYPE_PLAN(1,"植物"),
    FILE_RES_TYPE_CURRICULUM(2,"课程"),
    FILE_RES_TYPE_CATEGORY(3,"课程节点"),
    FILE_RES_TYPE_NEWS(4,"新闻"),
    FILE_RES_TYPE_ACTIVE(5,"活动"),
    FILE_RES_TYPE_USER(6,"用户随拍"),

    USER_TYPE_ADMIN(0,"管理员"),
    USER_TYPE_TEACHER(1,"老师"),
    USER_TYPE_STU(2,"学生"),
    USER_TYPE_FRA(3,"家长"),
    ;


    private int value;
    private String remark;

    private ServiceCommonConstants(int value, String remark) {
        this.value = value;
        this.remark = remark;
    }

    public int getValue() {
        return value;
    }

    public String getRemark() {
        return remark;
    }


}
